class Recurso < ActiveRecord::Base
	validates :nome, :uniqueness => {:case_sensitive => false}, :uniqueness => true, :presence => true
	has_many :salasdeaula, :through => :recurso_sala
end
